package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_iron_tray")
@ApiModel(value="t_prd_iron_tray", description="铁托列表")
public class PrdIronTray extends Model<PrdIronTray> {
    @TableId(value ="Id", type = IdType.AUTO)
    @ApiModelProperty(name = "Id" , value = "主键")
    private Long Id;

    @TableField(value = "billNo")
    @ApiModelProperty(name = "billNo" , value = "合托单号")
    private String billNo;

    @TableField(value = "status")
    @ApiModelProperty(name = "status" , value = "占用状态(0未占用，1占用)")
    private Boolean status;

    @TableField(value = "createTime")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @TableField(value = "createUserName")
    @ApiModelProperty(name = "createUserName" , value = "创建人")
    private String createUserName;

    @TableField(value = "fqty")
    @ApiModelProperty(name = "fqty" , value = "数量")
    private Double fqty;


    @TableField(value = "materialNo")
    @ApiModelProperty(name = "materialNo" , value = "物料编码")
    private String materialNo;


    @TableField(value = "materialName")
    @ApiModelProperty(name = "materialName" , value = "物料名称")
    private String materialName;

    @TableField(value = "specification")
    @ApiModelProperty(name = "specification" , value = "规格")
    private String specification;

    @TableField(value = "unitNo")
    @ApiModelProperty(name = "unitNo" , value = "单位编码")
    private String unitNo;

    @TableField(value = "unitName")
    @ApiModelProperty(name = "unitName" , value = "单位名称")
    private String unitName;

    @TableField(value = "isPackage")
    @ApiModelProperty(name = "isPackage" , value = "是否包装车间")
    private Boolean isPackage;


    @TableField(value = "inStockTime")
    @ApiModelProperty(name = "inStockTime" , value = "入库日期")
    private Date inStockTime;

    @TableField(value = "stockNo")
    @ApiModelProperty(name = "stockNo" , value = "仓库编码")
    private String stockNo;

    @TableField(value = "stockName")
    @ApiModelProperty(name = "stockName" , value = "仓库名称")
    private String stockName;

    @TableField(value = "locationNo")
    @ApiModelProperty(name = "locationNo" , value = "仓位编码")
    private String locationNo;

    @TableField(value = "locationName")
    @ApiModelProperty(name = "locationName" , value = "仓位名称")
    private String locationName;

    @TableField(value = "trayNo")
    @ApiModelProperty(name = "trayNo" , value = "原托号")
    private String trayNo;
}
